{extends file="../acp.html"}

{block name="title"}{$head_title}{/block}
{block name="content"}
<form id="J_FormArticle" action="" method="post">
<div class="formitems inline">
    <label class="fi-name"><span class="colorRed">*</span>标题：</label>
    <div class="form-controls">
        <input type="text" placeholder="" class="xlarge" name="title" id="title" value="{$info.title}">
        <span class="fi-help-text hide"></span>
    </div>
</div>

    {upload_image_widget($pic_data)}

<div class="formitems inline">
    <label class="fi-name"><span class="colorRed">*</span>排序号：</label>
    <div class="form-controls">
        <input type="text" placeholder="" class="small" name="serial" id="serial" value="{$info.serial}">
        <span class="fi-help-text hide"></span>
    </div>
</div>


<div class="formitems inline">
    <label class="fi-name">显示：</label>
    <div class="form-controls">
        <div class="radio-group">
            <label><input type="radio" name="isuse" value="1" {if $info.isuse == 1}checked="checked"{/if} />是</label>
            <label><input type="radio" name="isuse" value="0" {if $info.isuse == 0}checked="checked"{/if} />否</label>
        </div>
    </div>
</div>

    <div class="formitems inline">
        <label class="fi-name"><span class="colorRed">*</span>内容：</label>
        <div class="form-controls">
            <script id="editor" name="contents" type="text/plain" style="width:600px;height:400px;">{$txt_info.contents}</script>
            <span class="fi-help-text hide"></span>
        </div>
    </div>


    <div class="formitems inline">
    <label class="fi-name"></label>
    <div class="form-controls">
        <input type="hidden" name="act" value="{$act}" />
        <input type="hidden" name="official_news_id" value="{$info.article_id}" />
        <button type="submit" class="btn btn-blue"><i class="gicon-check white"></i>保存</button>
    </div>
</div>
</form>
{/block}

{block name="js"}
<script type="text/javascript" charset="utf-8" src="__UE__/ueditor.config.js"></script>
<script type="text/javascript" charset="utf-8" src="__UE__/ueditor.all.min.js"></script>
<script type="text/javascript" charset="utf-8" src="__UE__/lang/zh-cn/zh-cn.js"></script>
<script>
    var ue = UE.getEditor('editor');
</script>
{/block}